home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
1833
/
1833.xpi
/
chrome
/
yoono.jar
/
content
/
yoono
/
bookmarks
/
bookmarksdlg.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-12-16
|
6KB
|
171 lines
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE window SYSTEM "chrome://yoono/locale/bookmarksdlg.dtd">
<!--
@author david marteau <marteau.david@free.fr>
@copyright 2005-2006 Yoono
-->
<?xml-stylesheet href="chrome://yoono/skin/bookmarks/bookmarksdlg.css" type="text/css"?>
<dialog
id="yoono-dialog-bookmarks"
title="yoono"
orient="vertical"
buttons="accept,cancel"
ondialogaccept="return onAcceptDialog()"
ondialogcancel="return onCancelDialog()"
onload="onInitDialog()"
persist="screenX screenY"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<script type="application/javascript" src="bookmarksdlg.js"/>
<box class="yoono-dlgheader-box" align="end">
<hbox class="header-title" align="center">
<image class="bookmarks-header-pict"/>
<label class="header" value="&bmarks.restore.header;"/>
</hbox>
</box>
<vbox class="yoono-dlgcontent-box" flex="1">
<description class="presentation">
&bmarks.presentation; <hint>&bmarks.presentation.hint;</hint>
</description>
<hbox flex="1" id="yoono-inner-box">
<tree id="backuplistbox"
class="yoono"
hidecolumnpicker="true"
datasources="rdf:null"
sortResource="http://yoono.com/bkm-rdf#name"
sortDirection="descending"
ref="urn:bookmarks:backups"
onselect="onSelectArchive(event.originalTarget)">
<template>
<rule>
<conditions>
<content uri="?uri"/>
<member container="?uri" child="?listitem"/>
</conditions>
<bindings>
<binding subject="?listitem" object="?date"
predicate="http://yoono.com/bkm-rdf#date"/>
<binding subject="?listitem" object="?time"
predicate="http://yoono.com/bkm-rdf#time"/>
<binding subject="?listitem" object="?abbr"
predicate="http://yoono.com/bkm-rdf#abbr"/>
<binding subject="?listitem" object="?count"
predicate="http://yoono.com/bkm-rdf#count"/>
</bindings>
<action>
<treechildren>
<treeitem uri="?listitem">
<treerow>
<treecell label="?abbr" properties="archive"/>
</treerow>
</treeitem>
</treechildren>
</action>
</rule>
</template>
<treecols>
<treecol id="column1" flex="1" hideheader="true" primary="true"/>
</treecols>
</tree>
<tree id="bookmarks-tree" class="yoono" hidecolumnpicker="true"
datasources="rdf:null"
ref="NC:BookmarksRoot"
flags="dont-build-content"
flex="1">
<template xmlns:nc="http://home.netscape.com/NC-rdf#">
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<treechildren>
<treeitem uri="rdf:*">
<treerow properties="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type separator">
<treecell properties="separator" label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</treerow>
</treeitem>
</treechildren>
</rule>
<rule>
<treechildren>
<treeitem uri="rdf:*">
<treerow properties="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
<treecell icon="rdf:http://home.netscape.com/NC-rdf#Icon"
label="rdf:http://home.netscape.com/NC-rdf#Name"
properties="toolbarfolder-rdf:http://home.netscape.com/NC-rdf#BookmarksToolbarFolder"/>
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
<treecols>
<treecol id="BmkColumn" type="richtreecol"
flex="1" primary="true">
<image class="treecol-image bookmarks-iconic"/>
<label class="treecol-text"
value="&bmarks.treehead.label;"
crop="right"/>
<label id="linkcount" class="hint" flex="1"/>
</treecol>
</treecols>
</tree>
</hbox>
<hbox id="select-history-box" align="center">
<label value="&bmarks.numarchives.label;"/>
<menulist id="maxhistorymenu" oncommand="onChangeMaxHistory()">
<menupopup>
<menuitem label="1" value="1"/>
<menuitem label="2" value="2"/>
<menuitem label="3" value="3"/>
<menuitem label="4" value="4"/>
<menuitem label="5" value="5"/>
<menuitem label="6" value="6"/>
<menuitem label="7" value="7"/>
<menuitem label="8" value="8"/>
<menuitem label="9" value="9"/>
<menuitem label="10" value="10"/>
<menuitem id="custom-history"
collapsed="true"
label="" value=""
persist="label value"/>
<menuseparator/>
<menuitem label="Autre" value="custom"/>
</menupopup>
</menulist>
</hbox>
</vbox>
<hbox class="yoono-dlgbutton-box" align="end">
<button dlgtype="cancel" label="&bmarks.cancel.label;"/>
<spacer flex="1"/>
<button dlgtype="accept" class="bookmarks-iconic" id="acceptbtn"
label="&bmarks.restorebtn.label;"
disabled="true"/>
</hbox>
<stringbundle id="bundle" src="chrome://yoono/locale/bookmarks.properties"/>
</dialog>